/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package entities;

import java.util.Date;

/**
 *
 * @author VietLH
 */
public class PatientDetails {
    private int pID;
    private String pFName;
    private String pLName;
    private String pAddress;
    private String pPhone;
    private boolean pGender;
    private Date pDOB;

    public PatientDetails(int pID, String pFName, String pLName, String pAddress, String pPhone, boolean pGender, Date pDOB) {
        this.pID = pID;
        this.pFName = pFName;
        this.pLName = pLName;
        this.pAddress = pAddress;
        this.pPhone = pPhone;
        this.pGender = pGender;
        this.pDOB = pDOB;
    }

    public PatientDetails(int pID, String pFName, String pLName, String pAddress, Date pDOB) {
        this.pID = pID;
        this.pFName = pFName;
        this.pLName = pLName;
        this.pAddress = pAddress;
        this.pDOB = pDOB;
    }

    



    public PatientDetails() {
    }



    @Override
    public String toString() {
        return (this.pFName+" "+this.pLName);
    }

    public String getpAddress() {
        return pAddress;
    }

    public void setpAddress(String pAddress) {
        this.pAddress = pAddress;
    }

    public Date getpDOB() {
        return pDOB;
    }

    public void setpDOB(Date pDOB) {
        this.pDOB = pDOB;
    }

    public String getpFName() {
        return pFName;
    }

    public void setpFName(String pFName) {
        this.pFName = pFName;
    }

    public boolean ispGender() {
        return pGender;
    }

    public void setpGender(boolean pGender) {
        this.pGender = pGender;
    }

    public int getpID() {
        return pID;
    }

    public void setpID(int pID) {
        this.pID = pID;
    }

    public String getpLName() {
        return pLName;
    }

    public void setpLName(String pLName) {
        this.pLName = pLName;
    }

    public String getpPhone() {
        return pPhone;
    }

    public void setpPhone(String pPhone) {
        this.pPhone = pPhone;
    }  
    
}
